<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Aria: ArPriority Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Aria
   &#160;<span id="projectnumber">2.9.4</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classArPriority.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-static-attribs">Static Protected Attributes</a> &#124;
<a href="classArPriority-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ArPriority Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Contains enumeration of four user-oriented priority levels (used primarily by <a class="el" href="classArConfig.html" title="Stores configuration information which may be read to and from files or other sources. ">ArConfig</a>)  
 <a href="classArPriority.html#details">More...</a></p>

<p><code>#include &lt;ariaUtil.h&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a61e8c6e150b6b4f11dfe20f183cd56e7"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="classArPriority.html#a61e8c6e150b6b4f11dfe20f183cd56e7a483e4a8e36cc2c56efd319aab1335ea7">PRIORITY_COUNT</a> = LAST_PRIORITY + 1
 }</td></tr>
<tr class="separator:a61e8c6e150b6b4f11dfe20f183cd56e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee18574a3aae3c790bd3dadc13cff9a3"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArPriority.html#aee18574a3aae3c790bd3dadc13cff9a3">Priority</a> { <br />
&#160;&#160;<a class="el" href="classArPriority.html#aee18574a3aae3c790bd3dadc13cff9a3a3f4ff43632add9cafeb007b375da1c0b">INVALID_PRIORITY</a> = -1, 
<a class="el" href="classArPriority.html#aee18574a3aae3c790bd3dadc13cff9a3af836d71b4aed41066c4e944d58177210">IMPORTANT</a>, 
<a class="el" href="classArPriority.html#aee18574a3aae3c790bd3dadc13cff9a3a5c086f5a650c2c6cd03445e9176ed391">BASIC</a> = IMPORTANT, 
<b>FIRST_PRIORITY</b> = IMPORTANT, 
<br />
&#160;&#160;<a class="el" href="classArPriority.html#aee18574a3aae3c790bd3dadc13cff9a3a11a1e48113dade987dbbc50383e13210">NORMAL</a>, 
<a class="el" href="classArPriority.html#aee18574a3aae3c790bd3dadc13cff9a3a25788045d6829d9f40b67d2b7358e1eb">INTERMEDIATE</a> = NORMAL, 
<a class="el" href="classArPriority.html#aee18574a3aae3c790bd3dadc13cff9a3a05608cb8b09f2e4af9a099b5261820e2">DETAILED</a>, 
<a class="el" href="classArPriority.html#aee18574a3aae3c790bd3dadc13cff9a3a40f7bd43e779685d15dbfbfc712fd94e">TRIVIAL</a> = DETAILED, 
<br />
&#160;&#160;<a class="el" href="classArPriority.html#aee18574a3aae3c790bd3dadc13cff9a3aac0720db337e04bd060bb028bf638fa4">ADVANCED</a> = DETAILED, 
<a class="el" href="classArPriority.html#aee18574a3aae3c790bd3dadc13cff9a3afab38f10a1739a94145a575b96f7dd37">EXPERT</a>, 
<a class="el" href="classArPriority.html#aee18574a3aae3c790bd3dadc13cff9a3a9d107c4a1a48d5c96e8241c41d35ccff">FACTORY</a>, 
<a class="el" href="classArPriority.html#aee18574a3aae3c790bd3dadc13cff9a3a6a4efa5480210c6a37c55ac88e6a9db0">CALIBRATION</a>, 
<br />
&#160;&#160;<a class="el" href="classArPriority.html#aee18574a3aae3c790bd3dadc13cff9a3a174495be77df7662d7d909b1212e9409">LAST_PRIORITY</a> = CALIBRATION
<br />
 }</td></tr>
<tr class="separator:aee18574a3aae3c790bd3dadc13cff9a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a6f32e8d5d14acdf65f895b127e0154bc"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classArPriority.html#aee18574a3aae3c790bd3dadc13cff9a3">Priority</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArPriority.html#a6f32e8d5d14acdf65f895b127e0154bc">getPriorityFromName</a> (const char *text, bool *ok=NULL)</td></tr>
<tr class="memdesc:a6f32e8d5d14acdf65f895b127e0154bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the priority value that corresponds to the given displayable text string.  <a href="#a6f32e8d5d14acdf65f895b127e0154bc">More...</a><br /></td></tr>
<tr class="separator:a6f32e8d5d14acdf65f895b127e0154bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af43b3f866c6363fc904c9f23def376d8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af43b3f866c6363fc904c9f23def376d8"></a>
static const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArPriority.html#af43b3f866c6363fc904c9f23def376d8">getPriorityName</a> (<a class="el" href="classArPriority.html#aee18574a3aae3c790bd3dadc13cff9a3">Priority</a> priority)</td></tr>
<tr class="memdesc:af43b3f866c6363fc904c9f23def376d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the displayable text string for the given priority. <br /></td></tr>
<tr class="separator:af43b3f866c6363fc904c9f23def376d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-attribs"></a>
Static Protected Attributes</h2></td></tr>
<tr class="memitem:a95e2d21dcf212852b8a0478eedce0fbb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a95e2d21dcf212852b8a0478eedce0fbb"></a>
static std::map&lt; std::string, <a class="el" href="classArPriority.html#aee18574a3aae3c790bd3dadc13cff9a3">ArPriority::Priority</a>, <a class="el" href="structArStrCaseCmpOp.html">ArStrCaseCmpOp</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArPriority.html#a95e2d21dcf212852b8a0478eedce0fbb">ourNameToPriorityMap</a></td></tr>
<tr class="memdesc:a95e2d21dcf212852b8a0478eedce0fbb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Map of displayable text to priorities. <br /></td></tr>
<tr class="separator:a95e2d21dcf212852b8a0478eedce0fbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a240a80c164f51df166fb41e83b7f5ed9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a240a80c164f51df166fb41e83b7f5ed9"></a>
static std::map&lt; <a class="el" href="classArPriority.html#aee18574a3aae3c790bd3dadc13cff9a3">Priority</a>, std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArPriority.html#a240a80c164f51df166fb41e83b7f5ed9">ourPriorityNames</a></td></tr>
<tr class="memdesc:a240a80c164f51df166fb41e83b7f5ed9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Map of priorities to displayable text. <br /></td></tr>
<tr class="separator:a240a80c164f51df166fb41e83b7f5ed9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6959e3be6df37cb677a207d6e2459f36"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6959e3be6df37cb677a207d6e2459f36"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArPriority.html#a6959e3be6df37cb677a207d6e2459f36">ourStringsInited</a> = false</td></tr>
<tr class="memdesc:a6959e3be6df37cb677a207d6e2459f36"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the map of priorities to display text has been initialized. <br /></td></tr>
<tr class="separator:a6959e3be6df37cb677a207d6e2459f36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a778eecb67765c36ee7f9face4195fc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3a778eecb67765c36ee7f9face4195fc"></a>
static std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classArPriority.html#a3a778eecb67765c36ee7f9face4195fc">ourUnknownPriorityName</a></td></tr>
<tr class="memdesc:a3a778eecb67765c36ee7f9face4195fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Display text used when a priority's displayable text has not been defined. <br /></td></tr>
<tr class="separator:a3a778eecb67765c36ee7f9face4195fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Contains enumeration of four user-oriented priority levels (used primarily by <a class="el" href="classArConfig.html" title="Stores configuration information which may be read to and from files or other sources. ">ArConfig</a>) </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="a61e8c6e150b6b4f11dfe20f183cd56e7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a61e8c6e150b6b4f11dfe20f183cd56e7a483e4a8e36cc2c56efd319aab1335ea7"></a>PRIORITY_COUNT&#160;</td><td class="fielddoc">
<p>Number of priority values. </p>
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="aee18574a3aae3c790bd3dadc13cff9a3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classArPriority.html#aee18574a3aae3c790bd3dadc13cff9a3">ArPriority::Priority</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="aee18574a3aae3c790bd3dadc13cff9a3a3f4ff43632add9cafeb007b375da1c0b"></a>INVALID_PRIORITY&#160;</td><td class="fielddoc">
<p>An invalid value. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aee18574a3aae3c790bd3dadc13cff9a3af836d71b4aed41066c4e944d58177210"></a>IMPORTANT&#160;</td><td class="fielddoc">
<p>Basic things that should be modified to suit. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aee18574a3aae3c790bd3dadc13cff9a3a5c086f5a650c2c6cd03445e9176ed391"></a>BASIC&#160;</td><td class="fielddoc">
<p>Basic things that should be modified to suit. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aee18574a3aae3c790bd3dadc13cff9a3a11a1e48113dade987dbbc50383e13210"></a>NORMAL&#160;</td><td class="fielddoc">
<p>Intermediate things that users may want to modify. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aee18574a3aae3c790bd3dadc13cff9a3a25788045d6829d9f40b67d2b7358e1eb"></a>INTERMEDIATE&#160;</td><td class="fielddoc">
<p>Intermediate things that users may want to modify. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aee18574a3aae3c790bd3dadc13cff9a3a05608cb8b09f2e4af9a099b5261820e2"></a>DETAILED&#160;</td><td class="fielddoc">
<p>Advanced items that probably shouldn't be modified. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aee18574a3aae3c790bd3dadc13cff9a3a40f7bd43e779685d15dbfbfc712fd94e"></a>TRIVIAL&#160;</td><td class="fielddoc">
<p>Advanced items (alias for historic reasons) </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aee18574a3aae3c790bd3dadc13cff9a3aac0720db337e04bd060bb028bf638fa4"></a>ADVANCED&#160;</td><td class="fielddoc">
<p>Advanced items that probably shouldn't be modified. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aee18574a3aae3c790bd3dadc13cff9a3afab38f10a1739a94145a575b96f7dd37"></a>EXPERT&#160;</td><td class="fielddoc">
<p>Items that should be modified only by expert users or developers. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aee18574a3aae3c790bd3dadc13cff9a3a9d107c4a1a48d5c96e8241c41d35ccff"></a>FACTORY&#160;</td><td class="fielddoc">
<p>Items that should be modified at the factory, often apply to a robot model. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aee18574a3aae3c790bd3dadc13cff9a3a6a4efa5480210c6a37c55ac88e6a9db0"></a>CALIBRATION&#160;</td><td class="fielddoc">
<p>Items that apply to a particular hardware instance. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aee18574a3aae3c790bd3dadc13cff9a3a174495be77df7662d7d909b1212e9409"></a>LAST_PRIORITY&#160;</td><td class="fielddoc">
<p>Last value in the enumeration. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a6f32e8d5d14acdf65f895b127e0154bc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classArPriority.html#aee18574a3aae3c790bd3dadc13cff9a3">ArPriority::Priority</a> ArPriority::getPriorityFromName </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool *&#160;</td>
          <td class="paramname"><em>ok</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the priority value that corresponds to the given displayable text string. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">text</td><td>the char * to be converted to a priority value </td></tr>
    <tr><td class="paramname">ok</td><td>an optional bool * set to true if the text was successfully converted; false if the text was not recognized as a priority </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>ariaUtil.h</li>
<li>ariaUtil.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classArPriority.html">ArPriority</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
